package cn.zc.curriculum.entity;

import cn.tools.core.base.entity.SuperEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 题库
 * </p>
 *
 * @author keno
 * @since 2022-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class QuestionBank extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 租户号
     */
    @TableField("TENANT_ID")
    private String tenantId;

    /**
     * 乐观锁
     */
    private Integer version;


    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 题目;题目
     */
    private String problem;

    /**
     * 题目类型，单选，多选，填空，判断题;题目类型，单选，多选，填空，判断题
     */
    private String problemType;

    /**
     * 题目分支;题目分支
     */
    private String problemBranch;

    /**
     * 题目正确答案注释;题目正确答案注释
     */
    private String problemAnnotation;

    /**
     * 正确答案;正确答案
     */
    private String rightAnswers;

    @TableLogic
    private Integer deleted;

    /**
     * 题目分数;题目分数
     */
    private String problemScore;

    /**
     * 题目分类;题目分类
     */
    private String curriculumClassifyId;


}
